home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Examples / Movie / Include / MovieDef.h next >
Encoding:
Text File  |  1994-04-21  |  1.6 KB  |  58 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                MovieDef.h
  4. //    Release Version:    $ 1.0d1 $
  5. //
  6. //    Author:                Lonnie Millett
  7. //    Creation Date:        3/28/94
  8. //
  9. //    Copyright:    © 1993, 1994 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //========================================================================================
  12.  
  13. #ifndef MOVIEDEF_H
  14. #define MOVIEDEF_H
  15.  
  16. // Kind
  17. #define kSampleMovieKind "Apple:OSType:Scrap:moov"
  18.  
  19. // Class ID
  20. #define kCMoviePartID "appl:framework:sample:moviepart$class"
  21.  
  22. // Editor User String
  23. #define kSampleMovieEditorUserString "Sample Movie 1.0"
  24.  
  25. // Kind User String
  26. #define kSampleMovieKindUserString "Sample Movie"
  27.  
  28. // Category User String
  29. #define kSampleMovieCategoryUserString "Video"
  30.  
  31. // Movie OSType
  32. #define kSampleMovieOSType 'moov'
  33.  
  34. #ifdef ASLMBUILD
  35. #define FW_kKindCategoryMapId        kNMAPid+1
  36. #define FW_kEditorKindMapId            kNMAPid+2
  37. #define FW_kEditorUserStringMapId    kNMAPid+3
  38. #define FW_kKindUserStringMapId        kNMAPid+4
  39. #define FW_kCategoryUserStringMapId    kNMAPid+5
  40. #define FW_kOldMacOSTypeMapId        kNMAPid+6
  41. #else
  42. // For the static build, the value of FW_kKindCategoryMap must pick up where the last part
  43. // left off. kNMAPid+43 is the last value used by the QDrawPart.
  44. #define FW_kKindCategoryMapId        kNMAPid+44
  45. #define FW_kEditorKindMapId            kNMAPid+45
  46. #define FW_kEditorUserStringMapId    kNMAPid+46
  47. #define FW_kKindUserStringMapId        kNMAPid+47
  48. #define FW_kCategoryUserStringMapId    kNMAPid+48
  49. #define FW_kOldMacOSTypeMapId            kNMAPid+49
  50. // Our text part picks up with kNMAPid+50, see TextDef.h
  51. #endif
  52.  
  53. // Menus
  54. #define kMovieMenu 7
  55.  
  56. #endif
  57.  
  58.